package com.hibikiluler.javalearning.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.alibaba.excel.annotation.ExcelIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class BookCollect {
    @ExcelIgnore
    @ApiModelProperty("主键")
    private Integer id;

    @Excel(name="用户id")
    @ApiModelProperty("用户id")
    private String userId;

    @Excel(name="书籍id")
    @ApiModelProperty("书籍id")
    private String bookId;

    @Excel(name="书籍标题")
    @ApiModelProperty("书籍标题")
    private String title;

    @Excel(name="收藏时间")
    @ApiModelProperty("收藏时间")
    private String collectTime;

    @Excel(name="书籍封面")
    @ApiModelProperty("书籍封面")
    private String imageUrls;

    @Excel(name = "作者")
    @ApiModelProperty("作者")
    private String writer;

    @Excel(name = "出版社")
    @ApiModelProperty("出版社")
    private String copyright;
}
